package com.easy.dao;

import com.easy.bean.Order;
import com.easy.utils.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IOrderDao {
    int addOrder(Order order);

    List<Order> getOrder(@Param("order") Order order, @Param("page") Page page);
    int getOrderCount(@Param("order") Order order);

    List<Order> trainerChart();

}
